package com.zfy.cmsservice.mapper;

import com.zfy.cmsservice.entity.CourseSelections;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfy.cmsservice.entity.vo.CourseSelectionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 选课表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2023-12-17
 */
public interface CourseSelectionsMapper extends BaseMapper<CourseSelections> {

    List<CourseSelectionVo> pageCourseSelection(@Param("page") long page, @Param("size") long size, @Param("courseId") String courseId);

    int pageCourseSelectionTotal(@Param("page") long page, @Param("size") long size, @Param("courseId") String courseId);
}
